//
//  DDOpenInvoiceMoneyInputNoticeCell.swift
//  DingDongZP
//
//  Created by ZZN on 16/10/23.
//  Copyright © 2016年 51ledian.com. All rights reserved.
//

import UIKit

class DDOpenInvoiceMoneyInputNoticeCell: LDBaseCells {
    
    var title:String? {
        
        didSet{
            
            showView?.titleLab?.text = title
        }
    }

    var showView:DDInvoiceDetailHeadTitle?
    
    override init(type: LDBaseCellType, margin: CGFloat, style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(type: type, margin: margin, style: style, reuseIdentifier: reuseIdentifier)
        initUI()
    }
    
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func initUI() {
        

        backgroundColor = LDGolbalColor.BgGoundGray
        showView = DDInvoiceDetailHeadTitle()
        
        gampMarginView.addSubview(showView!)
        
        showView!.snp_makeConstraints(closure: { (make) in
            
            make.left.right.equalTo(0)
            make.top.bottom.equalTo(0)
        })
        
    }
}
